package cn.tedu._05mvcboot03.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Article {
    @ApiModelProperty(value = "文章编号", dataType = "long")
    private Long id;
    @ApiModelProperty(value = "文章标题", dataType = "string")
    private String title;
    @ApiModelProperty(value = "文章内容", dataType = "string")
    private String content;
    @ApiModelProperty(value = "用户编号", dataType = "long")
    private Long userId;
}
